package com.wanmait.recycle.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.wanmait.recycle.mapper.UsertypeMapper;
import com.wanmait.recycle.pojo.Usertype;
import com.wanmait.recycle.service.UsertypeService;
import com.wanmait.recycle.util.Pager;

@Service
@Transactional
public class UsertypeServiceImpl implements UsertypeService {

	
	@Resource
	private UsertypeMapper usertypeMapper; 
	
	@Override
	public void insert(Usertype object) {
		// TODO Auto-generated method stub

	}

	@Override
	public void update(Usertype object) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(Integer id) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(String ids) {
		// TODO Auto-generated method stub

	}

	@Override
	public Usertype findById(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Usertype> findAll() {
		// TODO Auto-generated method stub
		return usertypeMapper.findAll() ;
	}

	@Override
	public int getDataCount() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<Usertype> findAll(Pager pager) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Usertype> findAll(Usertype object) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getDataCount(Usertype object) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<Usertype> findAll(Pager pager, Usertype object) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Usertype selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return usertypeMapper.selectByPrimaryKey(id);
	}

}
